package com.clinic.entity.type;

public enum GenderType {
	
	MALE, FEMALE;
	
	public static GenderType getValue(String value) {
		for(GenderType g : GenderType.values()) {
			if(g.toString().equalsIgnoreCase(value)) {
				return g;
			}
		}
		return null;
	}
}
